package com.baizhi.controller;

import com.baizhi.service.FeedbackService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;

@RestController
@RequestMapping("Feedback")
public class FeedbackController {

    @Resource
    FeedbackService feedbackService;

    @RequestMapping("queryAllPage")
    public HashMap<String, Object> queryAllPage(Integer page, Integer rows) {
        return feedbackService.queryAllPage(page, rows);
    }
}
